<script setup lang="ts">
import { useRoute } from 'vue-router';


let route= useRoute()
console.log(route.params)
console.log(route.params.dishId)
console.log(route.params.dishName)
console.log(route.params.dishPrice)
</script>

<template>
    <div>
        这是c页面
    </div>
</template>